class AddDetailsToUsers < ActiveRecord::Migration
  def change
    add_column :users, :name, :string
    add_column :users, :last_name, :string
    add_column :users, :nickname, :string
    add_column :users, :rut, :string
    add_column :users, :priority, :integer, :default => 1
    add_column :users, :born, :date
    add_column :users, :confirmation, :boolean, :default => false
    add_column :users, :faild_attempts, :integer, :default => 0
    add_column :users, :locked, :boolean, :default => false
    add_column :users, :locked_at, :datetime
    
  end
end
